package scms.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import redis.clients.jedis.Jedis;


@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,RedisAutoConfiguration.class})
@ComponentScan(basePackages = {"lac","scms"})
@EnableFeignClients
@EnableEurekaClient
public class ServiceApplication {
	
	public static void main(String[] args) {
		Class<?> clazz = Jedis.class;
		SpringApplication.run(ServiceApplication.class, args);
	}
	
}
